<template>
    <div class="home">
        <slot-example>
            <template v-slot="{user}">
                {{user.name}}
            </template>
        </slot-example>
    </div>
</template>

<script lang="ts">
    import {Options, Vue} from 'vue-class-component';
    import SlotExample from "@/components/slot-example/slot-example.vue";

    @Options({
        components: {
            SlotExample
        },
    })
    export default class Home extends Vue {
    }
</script>
